package com.wash.shoes.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wash.shoes.domain.dto.DyRefundDto;
import com.wash.shoes.entity.CustomerPo;
import com.wash.shoes.entity.DyRefundPo;
import com.wash.shoes.mapper.DyRefundMapper;
import com.wash.shoes.page.PageFactory;
import com.wash.shoes.service.DyRefundService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author jianguoli
 * @description 针对表【os_dy_refund(抖音的退款回掉)】的数据库操作Service实现
 * @createDate 2025-04-01 12:24:40
 */
@Service
public class DyRefundServiceImpl extends ServiceImpl<DyRefundMapper, DyRefundPo>
        implements DyRefundService {


    @Override
    public Page<DyRefundPo> pageList(DyRefundDto dyRefundDto) {
        Page<DyRefundPo> page = PageFactory.defaultPage();
        List<DyRefundPo> dataList = baseMapper.pageList(page, dyRefundDto);
        page.setRecords(dataList);
        return page;
    }
}




